Add MagentoConfiguration and a command to check validity of connection

@willy-ahva Why did you add that check?