NodeScala Assignment

Implement whole functionality