add key setting class and player input implementation