created Charts model. Display charts : code refactoring.