Initial REST Api implementation