Added basic string encoder/decoder