Moved several files into the includes directory including functions.php.  Adjusted files that required/included functions.php to point to the new location.  Also created new files the aid in connecting to the database.