Refactored module routes and module directory structure, added application and module parent classes for models and controllers