added ejs as the template engine so that we can eager load the templates. Not sure if this will mess other things up. We could also use some other template lang