Refactored head
Merge pull request #11 from muduno/date-range

Refactored head