adding preliminary tests
moving handlers to separate file
and adding extra logging in listeners
adding godeps support