Model entity

Basically, this add a super-class MEntity and a class MDoc in model

Now, tools that need to deal with abstraction of entities and with documentation could be simplier