Refactor/rewrite imports, URL reverses and settings due to move of demos app.