Add code for java language modeling application