first working version of configurable search parser