claw: introduce audio support
claw: move threads into its own header file