Updated constructor

Closes #14 
This PR should not include changes to package.json. package.json is the last thing that changes before a new release and is handled separately.