refactored everything except tabs section and the modal. still needs work on mobile styles for framing