separate player into own file