refactoring
Merge pull request #133 from blackhydrogen/resource-timechart

refactoring