https-api: reorganizing folder