Reporting Functionality

Reporting Functionality added. New controller added. Matching js
functions added. Work in progress.