add photo and database manager
and simple mongo db example in main
: