Wires up CI. Pep8 cleanup. Adds coverage.