Fix export bug due to class splitting #35

* Changed some name functions
* Namespace of exceptions