Add MessageStringGenerator class