drop useless methods & add tests
add travis & coveralls setup