Update include/api.php

The API is now loaded with autoload, this makes it easily extensible.