Moved all declarations to proxy.h
Implemented and integrated template_stats_processor
Implement template_debug_processor and data_debug_processor
Fixed a problem that caused wrong set counters to be written to new_msg
Fixed several template lookup errors
Added proxy.h