Also, I should go ahead and tell you that I know very very little about Wordpress, and how it handles things. Would it be feasible to move this part of your project away from Wordpress?
In WordPress, ... in addition to your (blog) "Posts" you can create a "Page". The typical example would be an "About" page.
In my case, I created a paged called "app". What is nice about this is I can use WordPress as a content management system, I can change Themes easily, etc. ... but embedded inside the page I can put vanilla PHP code.