Database

This addresses #9 and #10 

The following changes introduces a configuration file (config.php) which holds the global variables for the database. It also adds a script (db.php) which automatically connect to the database upon including it for ease of use. This file also includes a few functions to create the database.