Rewrote variable storage, parsing functions, and Var object