if (typeof Object.beget !== 'function') {
    Object.beget = function (o) {
        function F() {}
        F.prototype = o;
        return new F();
    };
}

Function.prototype.method = function(fname, f){
    this.prototype[fname] = f;
    return this;
}

var Azexis = Azexis || {};

// Configure the base URL. Useful for making Ajax requests to the right place.
// Do not include trailing slash.
Azexis.baseUrl = '';