make genSpecs global
implement -e flag to only generate exported structs; refactor options handling with new ArgHandler type
add usage examples