Implemented App class.