Refactored dependencies to console