Rename files and added repository merge API