Reorganize backend files.