Refactored addObject
Added terminal notifier