Preprocessing Manager Implemented

Not fully tested.