add tests with jasmine, and add the foundations of the important classes