Reorganised functions
Added command restrictions
Updated README.md
Updated package.json