Added some new code for moving units around, including server side validation.