New query methods

I adapted a few methods I had made for a history side project to use the far better code in the gem. Let me know if they fit into the plan of the project and what should be altered. Great project and I'd like to help out