Separate API from CLI (FIX hardcoded path to json, oops)
0.2.0