Move api files to api folder.