many fixes.  Added tiage tracking and updated to use the latest api wrapper