Refactoring into types; skeleton for digging rect outlines
Fine tuning of the map generator algorithm