Simplifying SDK and adding function to retrieve contexts.
Adding license headers, fixing query builder namespace.
Adding license and notice files.