changing autoloading to use classmap