Ported fruit collector network code, added packet registrations.