Add npm support
Start clone function