Implemented history synchronization from the backend. Archive and dashboard now initially working.