Progress towards the managed motion manager (still does not run correctly)