John 7 comes immediately after the feeding in the wilderness of John 6, where Jesus claims for himself the status of the bread in the wilderness. He also says,
Jesus said to them, “I am the bread of life; whoever comes to me shall not hunger, and whoever believes in me shall never thirst. http://esv.to/John6.35
Jesus is walking around in Galilee: there is not much direction indicated (though not pointlessly). He cannot go to the Feast of the Booths (a feast which signifies, in part, wilderness wandering).
Like Moses, Jesus cannot go the capital lest he be killed.
Jesus performs miracles to those who will not believe it is God’s work (like the miracles of Moses which did not convince the Pharaoh).
The people murmur about Jesus (and thus about God).
Jesus is the water (just as Moses had to give them water).
They do not do the Law which Moses gave (unlike Jesus who does the will of his Father).
They ask if Jesus could be the Prophet foretold by Moses (Dt. 18).
Something to flesh out later.