refactor for support of projection mapping
upgraded java version to 1.7 and minor code refactor.
refactor of result types for query
add exception for usupported operations.