Add macro usage and example to readme and improve process argument parser