Adds new functions to Database
Adds template (closes #5 #6)