moved sendRequest logic to apiBuilder service
fixed bugs
small fix