Extract the sample rate reduction and SOX writing code from AVI writing
code. Place sample rate reduction to AVI dump control code and split
SOX code to its own class.
Make commands objects instead of functions calling each other.
Now there is '?' command that can display command list and help about
individual command. Also the command handling is more distributed into
places where it belongs.