v2:
each class in a file.
added the possibility to manage decoration as linkedlist