docs: function Model(options) {
      this._document = options.document;
      options.document = options.document || {};
      this._handler = options.handler;
      this._id = options._id || options.document._id;
      this.name = options.name || options.document.name;
      this.layers = options.layers || options.document.layers;
      this.epochs = options.epochs || options.document.epochs;
      this.error = options.error || options.document.error;
  
      if (!(this._id instanceof ObjectID)) {
          this._id = new ObjectID(this._id);
      }
  
      if (!Array.isArray(this.layers) || this.layers.length < 3) {
          throw new Error('Layers array attribute needs to be at least 3');
      }
  
      this.filename = __dirname + '/neuralNetwork/' + this.name + '.nnet';
      if (fs.existsSync(this.filename)) {
          this.neuralNetwork = new fann.load(this.filename);
      }
  }