added support for scaled decoding and...

removed encoding part of the binding for a smaller library