refactored nodejs app
refactored nodejs app