Cleaned up main by functionizing tag field parsing. Made read the default. Accept combo commandline args