creating Picture model in db