updated config.php

made a Config class with private properties and a static method to
retrieve them
added DB.php

DB connection and basic crud