Added many gameplay mechanics and revamped input management.