Added "merge resources" controller and examples