move css inside template, correct class binding, update host css