implemented scraping session logic and views
moved session from lib to model