added controller
added routes
added css and refactored some code