Refactoring stylesheet in CRUD replacing it with resources