Queue wrapper: add constructors + device/context internal managemnt