master: main service implemented RestInterface + added unit tests