Started work on the encoding wrapper library.
Fixed an issue with array, more encoding functions implemented.