move server start up to index.js
add test for route GET /