Added core Session class