added new top module to instantiate control, data and mem