Added Session class (WIP).