defined magic functions to set variables in registry. __set and __get.
addition of the model, singleton design pattern and available to all scripts.
Merge branch 'develop'