init commit for RESTful for controller

We need an api between endpoint and user implemented controller. This is an attempt to implement it in RESTful web API