moving metadata out of tree for now
WIP: changing c funcs interface to provide better api
adding some more gc stat output at cleanup