some refactoring, removed jasmine-node until I learn about how jasmine works in node
refactor