Wrote first version of search module, need to test