Refactor movement code