remove gates and a few wire types, prepare for adding new gate system