Restructed the GameController to handle generic classes for EnemyShip and Submarine.