model and controller binded in one structure