I don't think that I fully understand what you are trying to accomplish as an end result. Please explain a little more about how things are setup and working for you now and how you would like it to work in the end.
Once the requirements for the new web app are known you can use that info as a guide to creating the functionality needed.