Multi-Agent Path Planning and Trajectory Generation for Confined Environments