Routing And Control Of Unmanned Aerial Vehicles For Performing Contact-Based Tasks