Minor update

fixed some code error and bugs
structural change

Encapsulating the program starting with the Spliter class which does the
string splite to wordList stuff.