Working path generation and added collision engine.