Added command line args. Next is to get credit info from DB, and add credit calcs.