Wrote command line parser to remove dependency