updated tests
Created generic message (easy for testing)
Moved methods to messages
Gas corrections and vm fixes
updated tests
Fixed refund model
updated tests
Fixed casting error

* big(bytes) == 0 when len(bytes) > 0
Fixed tests
merge