[debug] fill the cache in the constructor method
refine the query repo DONE
refine the instance creation
refine the Config dependency injection
the getInstance() methods return an interface in the persistence layer