additional variables in the constructor
- changed constructor
- add check* functions
- add create_domain func
- add create_record func
- add new option -d