Refactor #find_insight_agent and remove functionality from Tomcat container