Player deletion

Implemented player deletion and a little code cleanup