Continuing to migrate to json flatfiles away from database stuff and fleshing out functionality as I go