Implement an autoloader

The new autoloader handles automatic registration of core API classes
as well as the vendor libraries installed by Composer.