Add fee endpoint

Why this switch for `module.exports` style? We define all exports in the top for other classes.