Fix API and Dashboard urls.
Put listeners into their own file.
PEP8 fixes.
Test for PEP8 in tox.
Remove an unfinished and unused view.