Removed warnings from generated source code.
Configured idea project on test-bed module to include generated files as source.
Cleared a lot of warnings.
Replaced guava collections api by java 8 stream api.
Replaced annonymous classes by closures.
Some code fixes.
General clean up.