implemented part of testSyncRemoteDBStore
made _has_task public; added one static and one classmethod
fixed max_task_number bug
integrated ListDB class with pda. Close #26. Close #24.