changed mangler api. added mangler module