rough implementation of the local transport and of $execute. Will need to basically be re-written but this plc shows it'll work