added database settings
added static files and templates