Many changes

mostly removal of unnecessary code from old projects