rewrite datastore to handle memory allocation application-side (instead of previous module-side allocation)

remove flow_data_ptr

add managed_memory_chunk responsible for allocation and deallocation of arbitrary-size memory area

update example to reflect the change in datastore interface

update cmakelists to incorporate changes in files