Get initial build to work.

Set up tox.

Fixed pep8 warnings

Change-Id: Ia1cce729d1c0360321a66e8da41190a627f43cfe