update project structure for publishing to npm