Add CSS styles for lists and did a small little refactoring