[macro] Upgraded to newest standards
[stream] Changed 'send' and 'receive' to 'write' and 'read'