Refactor to allow for multiple input systems in the future.