Added JS Loader, code refactor

Added loader.js to allow for meta-data inclusion method
Updated login.php to center stuff
Refactored page and container creation/deletion into Site and Page,
rather than in setup.php. This will allow for easier page management
elsewhere.