created routes file with client router to DRY up client/server code
created server router that uses routes file