Refactor - Move duplicate code to a parent class

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Update references to new variable names

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Rename the field to its old value

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Move getTitle() method to parent class

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Correct spelling mistakes

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
Merge pull request #1075 from kb-yashodha/refactoring

Refactor - Move duplicate code to a parent class