add EJS templates along with the static files, refactor directory structure, add EJS dependency to package.json