Config database structure
Revert "Config database structure"

This reverts commit de6c559b9ded9cf6d79ca59d1f98d896942c6310.
Revert "Revert "Config database structure""

This reverts commit 38cb1856ff1ce3f31cc8857d23579752191d00aa.
update grid view