add simple streaming
refactor some authentication code
exit streaming gracefully catching KeyboardInterrupt
get db cfg settings and connect
send stream to mongohq
add dump flag TODO: workout how to implement it
change scope of db connection
move db connection code to separate file