Planning and Control of Multi-Agent Systems