added basic search capabilities; now versioning the api; added factorygirl