First commit of basic motion code