Updated notifciation center to have a blocks-based mechanism; refactored addObserver.