Have full select simql working, add support for privileges, add support for token granting