Refactored the request sequence. Added date helpers for converting to/from sql.