added delete, moved methods to appPhoto class