set constructor of class
Merge pull request #1 from levito/patch-1

set constructor of class