adds new java file - gem.java