Java implementation of a call centre system