moved server.js inside api directory
removed express and added Hapi