Create db.php

Connect to the database and make it accessible through a class.