Make PacketType having its own module.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>