Major refactorings

* Add support for more overlay types.
* Update package naming scheme (to include distribution)
* Minor other script refactorings.