removing everything but core template files