A python class for parsering strings.