remove OpenMP library linking
add functions to load graph into simplified data structures
fixes #1110, linker issues on CentOS