mvn submodules and java6 migration, implemented samples for mastermonitoring