Compile script now installs npm globally and locally.
Added guard service. Removed compile script.