Added view and mutex for shared data