Get rid of all xtend code in favor of pure java

This commit replaces all code written with xtend with pure java
code.