put autoloader in class