#14 decoupling MadLines from WMXEncoding and it's subclass