Added service and unit tests.