Fix decoder
Add sample application