add background worker logic; plugin is ready for use