restructuring, pep8, listiing html transform items alphabetically