Got a initial draft of a reporting module working