mostly implemented sessions
pyflakes fixes