Remove all dependencies, export as module