wrote context plugin

added context plugin to views
removed old context methods
remove unused imports