moved files to common/include/util for being architecture independent