moved tests to project root for a better structure
added some documentation
documentation and bugfixes
added a lot of comments
don't throw away output, log it
removed debug code
added a test for not-network-reachable hosts