Changes models layouts and controller