modify by flake8 and combine sites app with trwk