Implemented the statsView. Also added a test suite for apps