Restructuring

Mag controller in use for training module