clean up search, start adding embedded database boot