Migrate best practices tracking to internal storage
Move dbsync to a module level

User may request to run a single module.
In order not to autoclose all other items for the server, it is
necessary to do the sync on module level