Add context based querying 20131004

Revamp query interface server to work with unary transformations