refactor config struct tag handling
Merge pull request #55 from jehiah/config_handlers_55

refactor config handling