modify architecture (add model module)