database connect / functions filesystem
search class architecture