Added prediction API
Merge pull request #10 from nbharadwaj/development

Added prediction API