creating and instanciating materials + add a method that gives the biggest photo_id in local database - need to be tested-
Merge pull request #48 from nicolasdavid/dev_database

creating and instanciating materials + add a method that gives the biggest photo_id in local database - need to be tested-