Refactored static members and implementation visibility.
A lot - starting to have a working web sample app!