Added Session and LogWriter Class