fixed imports
start implementation of improved api.
implementat the new Query Engine interface.
added resource for implementation discover.
add support for session lookup
add test on QueryEngine