cleanup of typescripts
testing querying and updating
seperating out storages