Added recipe writing to the database.