Implemented notification service; added calls to publish and subscribe methods to resource service.