Dir Cleanup & new Database Class

Created a Database PHP class to handle connection to the DB, and wrote a
test php file to check for functionality.