Working RESTful api, web socket needs further implementation, need to add binary mode and caching.