cleanup project (remove unused topcat code) and add factions 2.x support