refactored removing of catalogue dom and model elemets
removed debug commands