removing obsolete files, correcting output generation bugs