refactored unit testing
added protractor and node.js configs