updates to ejs, restructured views