Add autoloader and test it