Added c/c++ global variables registration support. Also added readme files for template overrides.