add composer class
add composer class
add tests for composer class