adds chaining methods for constructors
Merge pull request #11 from scottjason/function-chaining

adds chaining methods for constructors