added photoModel

Some things in the mysql st need to be changed when database is finished