Modularization

The front-end of the application has been separated into different
modules. A module named 'module' has been created to dynamically load
modules in the application.