added initial configuration sending to db