A control system for Megastage ships