String spliter, Result class implemented, some coding style changes