Implemented the foundation for notifications