move loading API classes into init method

Preliminary step while I figure out if spl_autoload_register is worthwhile for loading classes.