added autoloader and config-class