Moved saveConfig functionality into index page
Moved page functionality into new module 'handlers'