some refactoring of ideas

- attempting to make read_config more 'portable' for other scripts
- moved configuration checks to a verify_options function
- 'standardizing' error handling/output by calling a function