Refactored dependencies to utilize npm