Added spl autoloader function