basic reporting in text file

Included code for basic reporting feature.