Update artifact/groupid + move main function to Connector class.