Move the code that initializes the TypeMap in a separate library, that will be shared between ModelGEP and the backend.