completed update of db/archive update system.
Begun writing indexing system
First working version of optimised version. Minor fixes to come. Increases speed significantly.