Less global vars

`player` is no longer global, wrapped in function now
Simpler var name
Link to API ref now in readme