add indexed db local storage
integrating indexed db; add js for num_classes and start_time
finish moving table updates to js from server side