A minimalistic string class