move MXDatabase to SerialDatabase