Yeah the autoload setup has to go as early as possible - so that it knows how to load your Request class when you need it, and all your other classes.