Add "AggregateMessages.java" which is a synchronized static class to help aggregate the messages sent to sever to help reduce the communication times.