Reorganized javascript.
Added render methods for the settings page.
Settings page now save to the database.