Final 'major' refactor of model/proxy logic

Data structures and access for the most part, should be in their respective places now.
Any tweaks from here out follow this established pattern.
All global variables have been eliminated.