Switched to ES6, added pin peripheral info