More work on iRacing rewrite, now has basic functions