Replaced old date method with calendar & ...

Input should be as functional as it was now with a calendar as with the
old drop down. Also added code that updates the read_data table whenever
we update the raw_input table since the foreign key references were not
working.