added homepage, updated sort buttons, added analytics