Software Architecture for a Self-Organizing Logistics Planning System