Replaced __autoload with spl_autoload which plays nicely with others