Create photo.java