Implements schema loading and db item retrieval

This commit implements loading test data into the database via SQL
scripts. It also implements retrieving an item from the database and
presenting it in the template.