added cli / changed structure

added cli / changed structure

fixed npm link

Added main to package.json