AstCompressor refactoring + mapping indx of names

- Refactoring of AstCompressor (removal of uneeded compression methods)
- Temporary mapping between names and their occurences position in the tree
traversed in BFS
- Addition of some todos about the structure to simplify.