MAV passing pid

We are passing the pid of each process to structs and queues instead of
pointers to structs