add some logs to know what happens when the contract is not valid
add comments (questions) about some choices
refactoring monitoring notification
add network and memory test