More refactoring on string and method. Removed unused functions.