added jasmine testing framework
outsourced selector engine
added spec aka test cases
outsourced selector engine