refactor from OO to procedural
simplifying search functionality, tinkering / playing around
organized functions a bit better. resolved a few bugs
bunch of bug fixes after updating cloudsearch index