add ejs and move docs to view