Broke up server code into multiple files for easier reading. Most of the REST calls are now in their own module