move synchronizer class in its own file. abstract wallet class.