added setup API extensions for queries
renamed method to follow established standard
release v0.2.2