__init__ was fat and slow, this commit cleans the whole class code and dramatically improves the initialization speed.