Initial load

Bugs in the tone generation. Crashes with use.