Moved methods to prototype
Added basePlayer class