Changes internal structure, lots of Array.to_list to remove
Removed some useless code
Added empty _tags
Modifs done. Not tested yet.