remove unused variable
add composer
add test files