[ATM][DB] Change architecture of data source [p1]