starting player module refactoring