added classes player and unit