changed messages on console
fixed implementation of CMP_register method
Fixed implementation of changing memory.