Create EMsg.cs

I really wanted this emsg command if though I can't compile this or test it :(
Add EMsg.cs to project.
Merge branch 'pr/9'