Changing the file locations and adding more endpoints