Fix project structure and properties
[example] Fix null pointer exception
Fix tests that are running under Maven