expose attributes
Rename opts to options
Merge pull request #169 from dresende/pr/153

Expose chain model & options - Update of PR 153