Added stubs for process flexbility and refactored package design a bit.