added registry and registry meta class publisher + tests for both python2 and 3