Large-ish rearrangement; clean out a bunch of old crap, split out templates and assets, and ditch mediasync.