autoloader and sample config