Our TIM clone in Java :)