temporary queue test
adding ref counting class
fixing compilation issue in certain cases
TempCleaner