adds class passing and directives for internal items (deckgrid); updates views and css