Finished initial work on movement API.