add filtering and sorting and code cleanup
added more styles
finished sorting and some extra ui tweaks