use es6 constructor instead of initialize closes #140