rename Api $api + remove one level of modules