A transport set-up for heavy-flavour observables in nucleus-nucleus collisions at RHIC and LHC