What I think that this will lead up to the new kingdom hearts game that will be between coded and kh3. Maybe in this next game, it will go even further in coded and either Mickey or the real Sora will be the main character. Maybe the letter at the end of kh2 might be about the data world or something. I don't know, that's what I think.
I've been thinking the same thing for a little while now, it makes sense. Since Coded is supposed to be so important, and they really wanted it to go overseas. Why not put it on a console, portable or not, that people would actually want to play and pay attention to. The ending is definantly a hint that King Mickey will need the help of Sora to finish what Data Sora started. I'm thinking that the "them" being tormented is the Keyblade Wielders from the Keyblade War. It would actually make a real connection between Coded and Birth by Sleep. The person who sent Journal Riku to help Sora seems to be like a survivor of some sort. Possibly one of the characters from Birth by Sleep. If this is true then Coded might not be as stupi and pointless and I think.