remove models from theme and remove templates from config