Project for sending messages in scala