move configuration stuff to config dir, check cov thresholds on travis correctly