[WIP] Initial api bundle

WIP, do not review yet.
This should be probably `$config['driver']`...