refactored model and rakestask code into single db.rb file in lib. get_matches rake task now takes optional sequence num argument.
refatored method that builds hero win/loss record
refactored building of matches into a separate method from match fetching