finally fix require/autoload in a seemingly sane manner