Fix export, remove parser

Export everything, not just functions that work.

Remove parsing step for now, eventually make it an argument to the
get_oauth function

Factor code into files some more