improve the db and add list view