code: function create(mod, cls, data) {
              if (arguments.length < 3) {
                  var parts = mod.split('.');
                  data = cls;
                  cls = parts.pop();
                  mod = parts.join('.');
              }
              var Cons = constructor(mod, cls);
              return Cons ? new Cons(data) : null;
          }
docs: @ngdoc method
  @name create
  @methodOf coa.data.service:factory
  @param {String} mod The name of the module, which defines the class.
  @param {String} cls Name of the class to instantiate.
  @param {Object} data Optional initial data structure for an instance.
  @return {Data} An instance created or null if class not found.
  @description
  
  Create an instance from the given class. Alternatively first argument
  can be fully qualified class name including the module name, for example
  <code>coa.auth.Class</code>, in which case the second argument can be dropped.