added xml and java class