fixed date parsing bug
tidied
added csv breakdown
fixed empty result bug