Fix relative import issues for now, and move io thread to waveio module