Improve parser

Update date parser and interface to allow date ranges