changing directory structure and making room for api files