First checking of decoding code
Added decoding code for Floats
Ints, Floats, Strings and Bools can be decoded