code: function(module, fields, properties_ref, raw_properties) {
  
  		this.guid = Lava.guid++;
  		this._module = module;
  		this._fields = fields;
  		this._properties = properties_ref;
  
  		var field;
  
  		if (typeof(raw_properties) != 'undefined') {
  
  			for (field in fields) {
  
  				fields[field]['import'](this, properties_ref, raw_properties);
  
  			}
  
  		} else {
  
  			for (field in fields) {
  
  				fields[field].initNewRecord(this, properties_ref);
  
  			}
  
  		}
  
  	}
docs: Create record instance
  @param {Lava.data.ModuleAbstract} module Records module
  @param {Object.<string, Lava.data.field.Abstract>} fields Object with module's fields
  @param {Object} properties_ref Reference to an object with record's properties
  @param {Object} raw_properties Object with record field values from server