Added a DataMemory class and moved the boolean values from Control int oa separate class ControlLines.