Added Karma tests, started to integrate angular