Refactor Panel

Moved all code that’s related to `Panel` into its own module and began initial work on styling and filter functionality.