Create the pic model and add it to the database