[mod] refactoring to have generic code to get or create an existant model
[mod] refactoring to have generic code to get or create an existant model

yohanboniface/memopol-core,yohanboniface/memopol-core,yohanboniface/memopol-core