Main creates packetIn