Introduced boost::split() to handle the input from user.