Refactor the code, Creation of report page, Data for graphs from the
database.