Added logging, exceptions, validation functions, publish and subscribe.