move git sleep program into a cli.rb file

* extract hook installer class
* some quick refactoring to appease rubocop

close #30 (issue)
close #31 (sloppy PR)