fix stdin typo
fix pretty crucial problem with hook installer
attempt to dry up hooks some
update the precommit hook to use new class
add 2 second timeout to api requests