better arguments handling; added a query method
better handling for already crawled pages