update docs
make internal methods private
add simple test
add settings for travis.ci