Refactor: migrated favico plugin to classes