remove build directory
add a decoder demo

Probably more complicated than it needs to be, but it's got a bunch
of annotations and debug outputs to help novice users understand the
data flow and tunable parameters.