Added search and sorting. modified styles