splitting & cleaning template/css