Created a class that represents each session