moved routes into seperate files and added controllers