Ported String types to Text

Changed all human-legible String types to Text. Also cleaned up some unnecessary type conversions and removed unused packages.
Not sure about the need for this typeclass. But I've not looked into it in detail.