Debugged save command.  It is now possible to save an object to the database.