separation database data from ui metadata. was in one object until now.