Added db.inc.php to connect to database. includes test code to be removed.