Make metadata code independent of mysql. Make sure metadata repositories get properly decorated.

How does this relate with Manageable interface?
It seems to make sense to make the repo responsible for its own creation
(moreover, this method name is confusing because why does it require to produce a CrudRepository and not any Repository?)