Refactored the design implementations

Also fixed up MessageService and added some security measurements in
place to prevent external library maliciousness or at least voodoo
magic.

Also fixed up response inability to handle non-object types.

Mostly renamings and minor cleanups.