Finished ArrayManager
Added ScopeArrayManager.
Refactored Session and Configuration by using ScopeArrayManager.
Fixed major bug in ScopeArrayManager.