moving code to java code folder