public static function getInstance() { if (self::$singletonRef == NULL) { self::$singletonRef = new Routes(); } return self::$singletonRef; }