Add ChChar Class
move to use the new ChChar Class. As the freq are quite difficult to port, this is version removed the freq part 1st.
Add Copyright info
Add assign_freq function to assign the frequency data, remove the sortbyfreq function. the sorting now put to the front end 1st and will add new separate sorting functions out of the class for sorting