Rewrote DefaultRealm. Closes #72.  Closes #61