fixed some bugs in the skeleton code. finished converting routes and config into a running working server.