updated config.php

made a Config class with private properties and a static method to
retrieve them