added set_config
created input queue
converted input class to deque (instead of Queue)
added working playqueue, minor tweaks.
found bug: looping playback doesn't work. thread related.