spl_autoload_register moved into class