Project restructure.
NOTE: This breaks the F-Droid build. I'll fix this as soon as I get a
chance.