Added api request handler and started work on api v0.1