Add dir-locals.
Update TODO
Bring into pep8 compliance.