added player and input classes