added infrastructure to generate reports remotely at the server. Not yet tested