changed directory structure

also simplified use. sound is triggered whenever webpage leaves focus