Updated documentation source files

Added auto-generated API source files and changed other source files to
txt files.
Merge pull request #1 from akshayparopkari/master

Adds API documentation