write the code you wish you had!

just some code to get you started thinking about encapsulating saving behavior.