added notification_manager file and modified record file

started implementation of callback system.