remove unused code
add coveralls support