wrote a working post() method. Very simplistic and could use a revisit.
selectInto calls would not work with objects with protected/private variables. Changed to setVars.
added lastCommand method and last_command variable