Begun implementing sessions view

Also, minor cleanup