Build a kql_variant class out of the environments holding scalar and aggregation function definitions
Useful links