Basic API

Added a basic standalone API.

<!---
@huboard:{"milestone_order":642.875}
-->