A library to perform complex tasks with unmanned aerial vehicles