Changed url endpoints and minor formatting fixes.