refactored views into state based system