Facade and Command patterns in the main script. This refactorization has been done to execute the main functions of Tortazo from the web interface.