added basic template pages and removed db