better logging, broke things out into different files, fixed a few quirks with the excludes logic