preliminary work for metadata implementation: created header and footer structures. started cleaning the code to have smaller 1-task functions, leads to a refactoring of every function used internally.
finished refactoring. cleaned the code. splitted large function in 1 task functions. now it works. preliminary work on error handling policy changes.
Merge branch 'feature/cache_line_metadata' into develop