added test/test-network.hs
added libraries as submodules and travisised
added travis hook to README