Finished updating cpu interface to use new memory struct.