Enclose options into ScopeManager
Enclose globalScope into ScopeManager
Enclose currentScope and scopes variables into ScopeManager
Update dependencies