RFC: Refactor package name construction to expose prefixes

Refactoring of package prefixes to fix #35.