Text this: Synthesis and Implementation of Model Predictive Control