Initial code

Sample tests, karma and grunt config