From the looks of your question, you're trying to determine how best to tackle a problem given a site of requirements. That is, it's a conceptual, writeboarding-type question rather than a problem with code.
Conceptual questions are on-topic here and off-topic on Stack Overflow. Stack Overflow is when you have already started implementation, and you've run into a problem in your source code.
So it was rightly migrated here, at least in terms of scope of Programmers.SE and Stack Overflow. The question is, however, awfully specific and reads like a request for a proposal rather than a question asking for help: I doubt you'll get good answers anywhere as the question, with all of its requirements and restrictions, likely isn't all that relevant to anyone but yourself.
I've opted not to close it as too localized as it looks like someone was able to figure out a general solution, but you might want to figure out what you can do to generalize the question to make it more interesting for other programmers.