Added player class as well as test file for player