Refactored main-view into components. Re-organised controllers and services by creating their modules.