Altered jasmine class so that unit tests can be written for it.
Added mod directory.