Convert to XSpec

few other minor non-code cleanups, including travis integration.