connection __construct from array