delete temp files; add database connection for request; modify templates and .gitignore files