Messy but working
Cleaned up code. Info now displaying in fragment.