Modular technologies for intelligent motion unit with linear motor and axis control