Design and optimisation of an uncrewed aerial system service framework