Split API classes and interfaces

Split previous API files into many more classes and interfaces. Manager and Server APIs were left as-is.

It may be helpful to create a class hierarchy/diagram.
Yeah, that's pretty much what firstBatch would mean for OP_QUERY results.