added difficulty, karma calculation class
added difficulty, karma calculation class