public static function register()
 {
     self::$rootPath = realpath(dirname(__FILE__)) . '/';
     spl_autoload_extensions('.php');
     spl_autoload_register(array(__CLASS__, 'autoload'));
 }
 public static function registerSpyc()
 {
     // Spyc autoloader
     require_once self::$libsPath . 'spyc/Autoloader.php';
     Spyc_Autoloader::register();
 }