working on top-level module for MIPS and added controller