Minor whitespace tweaks
Added message protocol Factory code generation