fix issue 6: wrong mapping type. Introduce filters
added termination/stop scrape routine