Added trys for error handling code.

This feels dirty.  But it's unfortunately needed.
Added configurationserialization registration.
I'm a derp with reflection; these constructors need to be public.
Moved mock entity creation stuff.