replaced __autoload() usage with spl_autoload_register() to allow for more than one autoload handler