add class and java file