Updated the string class to  become more efficient in addition to handle Unicode.