added basic functionality
updated threading
Merge branch 'sound'