[Refactor][Connector] Refactor connector config (#484)