Add basic templates and models for database access