finished framework and fixed problems with soundmatcher