Created basic Player class

Moved code from Main to Player class