Move java code to the root