Base64 support. Updated API interface, sample, tests and README