(refactor) moved code around to define a project structure and added a testrunner for jasmine-node