Added basic API.
Merge branch 'master' of https://github.com/solewolf/wdR-contribution