var cache = function(window, settings) {
    /* Private properties */
    var _messenger = window;
    var _settings  = settings;
    var _store     = {};


    /* Private Methods */


    /* Public Functions and Variables */
    return {
        /**
        * Init function
        *
        * @method init
        * @public
        */
        init: function() {
            
        },
        /**
        * 
        *
        * @method get
        * @param id  {string} the unique identifier
        * @public
        */
        get: function(id) {
            return _store[id] || null;
        },
        /**
        * 
        *
        * @method set
        * @param id {string} the unique identifier
        * @param v  {object} the data object
        * @public
        */
        set: function (id, v) {
            _store[id] = v;
        }
    }
}(window, settings);

$(function() {
    controller.init();
});

