Added a basic collision avoidance system
Integrated and tested it with the task server.