Re-organize folders and file extensions

I reoganized the directory structure and changed the file extension to ejs so that they can be used in Node