added autoloader support