Factor out PanelCell into its own file and also offload the
implementation of PanelCell to a helper class inside Cell.