Refactor Minim model diagram into three parts