working on searchspace object
integrate searchspace into search.py, better tests, some print formatting changes