Added OAuth handler - Work In Progress

- misc. fixes to example programs