fixing autoload to make class available correctly