Replaced the Connection class with ErtClient