added players index and api interface