Update index.php, save-lineup.php, and settings.php

DRY principle application. Created more constants for URIs so that
we don't have to scour for lines to edit across files when we want
to make changes.