Remove NoteSynchronizer class,add database class