Add class Coordinate, Main and ShipArea.

Update class Battle and Ship.