added db and session classes