Refactored the classes of the planning area.