add routes to server.js
fix status response
move response handling out of server.js into seperate file
remove status.js