Put Memory, Register, etc classes into one file.