Moves all the files into logical packages.

No work done to the code aside from changing imports around, so things
are still sloppily done in places.  Hopefully this'll help kickstart
some interest in the project again now that it's easier to find stuff.