basic APIs
Add "getFlashcard()" API
Merge branch 'api'