fix overwrite bug with gss dirs
databaseinfo implementation, start of searching
basic shape search seems to work