refactor, add feeds handler, complete sync adapter.