added locaton and apiprocessor classes