java classes rewritten to xtend to enable compilation from gradle
added .cli to settings.gradle
fixed xtend class
removed warnings