Rename module: Panel -> panel
Move all code related to packages into its own module