Feature: added service functionality. Closed #1