Huge refactoring. Divided controllers, services and partials in different modules.