Refactor TimeSeriesDaoImpl by moving avg to a private method.
Refactor KeyAssembler.
Merge pull request #19 from eric-wu/master

Light refactoring, no new code