First shot at making wgm_search a fcgi application