Moved code to Java folder