frontend refactoring, new services, added form validations

refactored the front end interface, moved majority of logic from controllers into services. Also added in form validations.