add improved date formatting. add moment to help with date parsing and formatting. Close #4.