Reformat realax module
Complete conversion of realax module