Initial db connection class