Add template files for later use.

Database template, database connection file, main functions file.