Remove dollar sign

renamed $api to api, $control to data

too much confusion with the $