Allow to create instances in the indexer
Factorize resource to dict return
Move generic resources under /generic
Rename 'resource' to 'generic'