Complete refactoring.  This adds support for standalone operation (without a OneBusAway TDS) and incremental updates.