add gemspec
use autoload
set up gem
add test support
add bin options
improve report
check if repository exists