refactored to new naming convention apiconnector