Introduced KannustusGeneraattori, refactored code, fixed bugs.