uses correct database now
added insitu dataset Id functionality, read, store, added tests