Add NEWS.md and $instance

Plus some refactoring