Add MagentoConfiguration and a command to check validity of connection

Why this line contains some comments?