string and vector class