add composer service and unit test