add v2 stuff
Merge pull request #26 from craigspaeth/master

@craigspaeth: Add API v2 stuff