Added comments to the utility functions
Added comments to the memory functions and data structures.
Renamed the add_fkt_memory_area function to add_fnct_memory_area.