Refactors Css class