moving classes out of node_module