resolves #2, MainUtils methods have been replaced with StringUtils methods.