More util functions added. Pigs are ready to recieve messages from coordinators