added Player class and static Collisions class