adding ctx switching decorator (to access Package's venv)

- Adding Context object
- Simplifying @as_package decorator