Basic version of the two api calls working +more command line args