Add StatusPacket.java and encoder.