add SessionFactory