Front-end: separate controllers to individual files and added more services.