move style related context to its own module
create separate fileContext
enrich file context
move mainWindow to Context
use context instead of mainWindow in api
move important elements to context