refactor, and add configurable update interval
add an advertisement to the config page