Move implementation of ChIrrApp methods to cpp file.