split endpoints into separate route files
changed endpoint routes