updated memory controller component declaration to include read/write signal inputs