moved player class to src folder