Switch to use ejs, refactor code and customize delivery areas