Export classes

Get access to classes in more appropriate way. Thx to @lemmy-.

//сс @dodev
Also good:
```js
createMethod = function (name) {
   return new ApiMethod(name);
}
```