moved event search to models, started a spec for it