Options update and bugs fixed

Added use of Resolver object
Added resolv.conf configuration file
Bug fixed in params