Base class changes
Working global variables and classes

pass through of variables etc now functional