removed singletons, added main container
Finished declarative refactoring and rewriting unit tests
Changed onClick handlers to Javascript, added some tests
Merge pull request #57 from yangk/master

Finished declarative refectoring and rewriting jasmine unit tests