Implemented init function in Config.php