Adding output class for sending the resultant data back to client.