Local folder refactoring, part 5 (local folder now completely incapsulates sync & selected remote messages loading, search enabled)