added SRAM class & some control registers