fix fatal error
document the update class
refactor update class
refactor admin_controller
refactor router
refactor process settings
refactor index.php
refactor index.php
adding debug method / DS constant