initial java files
fix layer change