database setup
added templates and views
added base template