Refactored dependencies and added node module