added String class vector of split string for constructor