Moved getKeys function into new ViewMachine, and the Table type is now functional