Refactory for catching errors and to make the transient data simpler

See #3
Adding more rules in querier for DNS responses

See #3