Added catalogue controller and refactored html