Added Network class
Fixed testing with maven by adding compile target and fixing include of
junit