seperate java and class file