various minor stuff
first configurable implementation of scope and provision decorators.