Got the basics of the history API coming in.

Need to fix deserialization of ResourceType