added entity mappings to hibernate config file

deleted photo file classes