Now compute the size of each structure at compile time, whenever possible
added some documentation to reflect size precomputation
removing haris_lib_create_contents function; no longer necessary because of API change