V2

So this splits the code into the current and legacy apps.

Eventually, I would like to disabuse master of the legacy stuff and leave it all in a separate dormant branch. Will do later.