Refactoring internals.
Moves everything product related into buster.[ch].