added autoloader to index