submodule with commonly used C code