Import of legacy code into Git so that bugfixes can be tracked.