Add BIT template in Java