add yml and two java files