Converted to ES6 classes

Converted to ES6 classes.
Traceur handles the conversion.