Fixed sorting. Started class based views. Edited some html.