Refactor mavlink to use new driver and adaptor interfaces