add command line args through argparser and implement stopping and starting