DeckModel save() function added. save() takes care of committing to database