Update package generator to use new APIs

* Move the toggling out from the view. The main should handle it IMO
* Moved the command registration into the main file as well in the spirit of our other packages
* Used panels
* Removed deprecations

If you have suggestions, please let me know. I want to start people out on the right foot.
Not sure if I like this. Maybe testing that the view is hidden / shown is better? I'm just assuming that the first panel is our panel.