nodejs module re-organized