Adding search and publish handlers (although they are a work in progress still)