removes old reference code
fixes (clang) headercheck
clang-format all