Template class

Class to manage bits and tags replacements