create more wrappers for built-in functions and use them instead.
create utility function for acting on player properties, and refactor code for running and step height to make use of this.