renaming the templates, and making db work in settings file.