name for class Factory was edited and new getter and setters for class
Candidate.
Merge branch 'teamA' of https://github.com/miloscz/skoleni.git into teamA