Added CLI helper class and string functions