Restructure the folder of end_point and relation