fix

changed publisher making it simpler in use. Added new test daemon.