Renamed Install Deps to Prod Deps
Unified Node Install Fns

Dev and Prod install functions both use the same private function now.
I want to make it cleaner in the future but this works for now.
Added some Tests

Need confirmation tests though.
Added more detail to the tests