started to replace var prefix with CAT_; changed LEPTON_ class names to CAT_ too; added template helper class as abstraction layer; many other updates