Added global variables for API versions

I updated wrapper.py to use global variables for API versions, which should make the application much easier to update in the future. I also updated all API versions to current, so the application should work again.

Let me know if you have any questions!

Regards,

tstirrat