Refactoring node module.

Remove connect module.