player class and stuff

added player class, changed lots of privates to publics