added more helpers

to be able to remove data_t objs and metadata_t objs from memory.
added implementation of unload_modules()
added implementation of remove_data()