Added DB interactions, templates for end results, and updated almost every file.