Merge pull request #6 from jagoda/feat-global-context

Support for global view context
Clean up code styling.