added REST interface with stubbed functions