Added basic CoAP API with PUT and GET support.