incompleate . DO NOT USE.
added settings page.
TODO: add triggers for settings change.