start of polarity + new file format

Re-syncing code for start of polarity checks and new file format via xcmsSources