By Elias

The code structure is not modular enough.