Remove unused imports.
Make the validation interval configurable.

Although configurable, it must be at least 10 minutes.