create context class
Merge branch 'master' into dnsweights