Integrate memory access component to the ControlUnit

Move main memory access operations to mem component