added session, database, tab classes

added notes for statement of scope