Cleaned-up the response parsing code, searches are now more generic.

Power search is still a right mess and needs a lot of work.