componentiziced css, update styles, refactor pointer code