Change get_sites to take hash param
Reimplement backend. Move code into sites.rb. Add javascript for ux
Fix sort for new data structure. Add main.css