Moving away from window to a generic global context
Merge pull request #5 from thoov/globalContext

[Enhancement] Moving away from window to a generic global context