Modularizes the application and makes config loadable.