Refactor api.player to use db2

resolves #42