Modify titles
Fix Ruby version to 2.0.0
Extract common class and instance methods