Fixed some unicode problems, removed sort routine(not used), added routes to some routines, misc small updates