refactor
add ability to guess from command line
add documentation
bump gem version