Design and Implementation of the MTX Operating System