Control threads reads from STDIN, move control to Python
New frequency generators for tone generator