changed Issue class to be parametrized with the data it works on. an additional constructor should make possible to reuse data extracted from the repository for multiple issues