ADD: first prototype of restapi added