Added chaining api.
Merge pull request #2 from Battlefy/release/chaining

Added chaining api.