Remove ejs from server.js
Moved api.js to lib directory
Renamed api test
Changes at structure