audio: output selection functionality
main: add option parsing
ao: add option parsing
cleanups