Player template writing finished

Done:
 - Player template

TODO:
 - integration player with server-side function