Initial working version - manager and agent receiving data