Thank you all who contributed, commented, suggested, wrote Pseudo code, moderated and at times Insulted on this thread. It helped me get a clarity on my though process. I hope I have given something back via my thoughts that might be useful for somebody someday.
What I have realized is there...