Added function to the result controller, which will create a table structure after getting the result of an analysis