WIP on API.
WIP.
Finalizing some pieces.
Merge branch 'restful-api'