Reorganized file structure

Previous organization was going to get ugly when combined with use of jquery and qunit, as well as making packaging a mess. This should be much less convoluted.