Refactored sendPacket method name. Also, added CONTROLLER enum as a Role.