organized fargo outline search code into a single object